const mongoose = require('mongoose');
const materializedPlugin = require('mongoose-materialized');

var CateSchema = new mongoose.Schema({
    type:Number,
    text:String
});
CateSchema.plugin(materializedPlugin);

module.exports = mongoose.model('Cate',CateSchema);;
